package com.xnyzc.lhy.mis.controller.cmsapi.Gould;

import com.xnyzc.lhy.common.entity.Rv;
import com.xnyzc.lhy.mis.entity.result.cms.auditentry.AuditEntry;
import com.xnyzc.lhy.mis.service.Gould.GouldService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping(value = "/cms/oaGouldService")
public class GouldController {


    @Autowired
    GouldService gouldService;
    @PostMapping(value = "/getLYServiceId")
    public Rv getAuditEntryList() {
        String name="高德猎鹰轨迹服务";
        String desc="高德猎鹰轨迹服务";
        return gouldService.registGouldService(name,desc);
    }

}
